<%= javascript_include_tag :defaults %>
<% s=@swarm%>
<br/>
<h1><%=s.title%></h1>

<p><span>tags:</span><%=s.tags%></p>
<p><span>channel:</span>
<%= getcatelogbyid(s.catelog_id)%></p>
<p><span>creation time:</span>
<%=s.creation_time%></p>
<p><span>users:</span>
<%=CommonUtil.getusersbyid(s.id).to_s%></p>
<br><p><span>swarm picture:</span>
<%= image_tag "/images/kerjodando_pic/"+s.pic_url ,:size=>"240X102"%></p>
<p><span><%=link_to "bookmark it",:controller=>"bookmark",:action=>"add",:id=>s.id%></span></p>
<p><span>description:</span>
<%= s.description%></p>
<SCRIPT LANGUAGE="VBScript">
on error resume next
If Prototype.Browser.IE Then
  javaws150Installed = (IsObject(CreateObject("JavaWebStart.isInstalled.1.5.0.0")))
  javaws160Installed = (IsObject(CreateObject("JavaWebStart.isInstalled.1.6.0.0")))
End If
</SCRIPT> 
<%=javascript_include_tag "check_jre"%>

<br>
<p>the port:(default 443)<%=text_field_tag :port_temp,"443"%></p>

    <SCRIPT LANGUAGE="Javascript"> 
        <!-- 
        insertLink('/webgui/index?server=<%= (request.protocol << request.host_with_port)+"/"+s.url+"/"%>', 
                   "search",'<%= url_for :controller=>"/webgui",:action=>"index",:id=>s.url,:only_path=>false %>'); 
        // --> 
    </SCRIPT> </p>
<p><span>help:</span><br>
<br>

Click on the  SEARCH button to download and run JAVA task to connect to the swarm (network).
<br><br>
Answer yes to download and run questions and accept certificate.
<br><br>
Wait a few minutes for the software to connect to other friends in the swarm.
<br><br>
Click on the search tab and enter what interests you e.g. MP3.
<br><br>
To download right-click on file in search result and select download
<br><br>
Leave client connected to continue privately sharing.
<br><br>
This social network uses modded ANts ad hoc network (kerjodando) technology.
</p>

